package b1.mobile.blackberry.ui.component.util;

import net.rim.device.api.system.Bitmap;

/**
 * 
 * @author YangShen
 *
 */
public class Capsule {

	public Bitmap icon;
	public String name;
	public Object value;
	
	/**
	 * @param name
	 * @param value
	 */
	public Capsule(String name, Object value){
		this.name = name;
		this.value = value;
	}
	
	/**
	 * @param icon
	 * @param name
	 * @param value
	 */
	public Capsule(Bitmap icon, String name, Object value){
		this.icon = icon;
		this.name = name;
		this.value = value;
	}
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return name;
	}
	
}
